package com.zyf.EasyNet.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @first_author zyflzz
 * @gmt_created 2022/7/7
 * @gmt_modified 2022/7/7
 */
@Component
@ConfigurationProperties(prefix = "defaultuser")
public class DefaultUser {
    /**
     * 用户 id
     */
    private long id;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    @JsonSerialize(using = NullSerializer.class)
    private String pwd;

    /**
     * 昵称
     */
    private String nickName;
}
